-
-
Notifications
You must be signed in to change notification settings - Fork 39.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LEADER_NO_TIMEOUT_N #24581
base: develop
Are you sure you want to change the base?
LEADER_NO_TIMEOUT_N #24581
Conversation
…abling the timeout for the first N keystrokes in leader key sequences.
Recreated after cleaning up my repo. Sorry for the earlier mess. |
docs/features/leader_key.md
Outdated
Aditionally, you may want to disable the timeout for additional keystrokes after the leader key. | ||
Add the following to your `config.h`: | ||
```c | ||
#define LEADER_NO_TIMEOUT_N <Number of keystrokes including leader> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This name is awkward and doesn't feel clear about what it does.
It sounds like LEADER_DISABLE_TIMEOUT_AFTER_KEYSTROKES_NUM
might be more descriptive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since leader keys already have unit tests, any additional functionality should include additional tests to verify that the new functionality works as expected.
From the PR checklist,
I have updated the PR to reflect this. |
Added a definable LEADER_NO_TIMEOUT_N to leader_key.c that allows disabling timeout for the initial N keys in the sequence (including leader)
Description
Types of Changes
Issues Fixed or Closed by This PR
Checklist